<?php
class yc_model extends CI_Model {

  public function __construct()
  {
    $this->load->database(); 
  }
  public function get_teammessages()
  {
    $query = $this->db->get('yc');
    return $query->result_array();
  }

}
